using System;

namespace PaulRz.Util
{
	/// <summary>
	/// Summary description for FAssert.
	/// </summary>
	public sealed class FAssert
	{
		private FAssert()
		{
			
		}

		public static void IsTrue(bool b)
		{
			if(!b)	
				throw new Exception("Assertion failed. ");
		}
        public static void IsTrue(bool b,string exc)
        {
            if (!b)
                throw new Exception(exc);
        }


	}
}
